package com.sanxiau.dormitory.yang.service;

import com.sanxiau.dormitory.yang.entity.Dorout;
import com.sanxiau.dormitory.yang.entity.Leave;
import com.sanxiau.dormitory.yang.vo.ResultInfo;

import javax.servlet.http.HttpSession;
import java.util.Date;
import java.util.List;

public interface LeaveService {
    public ResultInfo addLeave(Leave leave,String leavetime,HttpSession session);
    public List<Leave> queryLeavesByStu_id(HttpSession session);
    public ResultInfo passLeaves(int[] ids ,HttpSession session);
    public ResultInfo overLeaves(int[] ids );
    public ResultInfo auth(String base64,HttpSession session);
}
